Learn R Programming

shard (version 0.1.0)

[[.shard_descriptor_lazy: Extract a Single Shard from a shard_descriptor_lazy Object

Description

Extract a Single Shard from a shard_descriptor_lazy Object

Usage

# S3 method for shard_descriptor_lazy
[[(x, i)

Value

A subset of the object.

Arguments

x

A shard_descriptor_lazy object.

i

Index.

Examples

Run this code
sh <- shards(100, block_size = 25)
sh[[1]]

Run the code above in your browser using DataLab